net/http.http2ClientConn.streams (field)
20 uses
net/http (current package)
h2_bundle.go#L6989: streams map[uint32]*http2clientStream // client-initiated
h2_bundle.go#L7376: streams: make(map[uint32]*http2clientStream),
h2_bundle.go#L7479: for streamID, cs := range cc.streams {
h2_bundle.go#L7557: StreamsActive: len(cc.streams),
h2_bundle.go#L7589: maxConcurrentOkay = int64(len(cc.streams)+cc.streamsReserved+1) <= int64(cc.maxConcurrentStreams)
h2_bundle.go#L7626: if len(cc.streams) > 0 || cc.streamsReserved > 0 {
h2_bundle.go#L7644: return cc.doNotReuse && len(cc.streams) == 0
h2_bundle.go#L7661: if len(cc.streams) == 0 || cc.closed {
h2_bundle.go#L7715: for _, cs := range cc.streams {
h2_bundle.go#L8173: if int64(len(cc.streams)) < int64(cc.maxConcurrentStreams) {
h2_bundle.go#L8667: cc.streams[cs.ID] = cs
h2_bundle.go#L8675: slen := len(cc.streams)
h2_bundle.go#L8676: delete(cc.streams, id)
h2_bundle.go#L8677: if len(cc.streams) != slen-1 {
h2_bundle.go#L8681: if len(cc.streams) == 0 && cc.idleTimer != nil {
h2_bundle.go#L8690: if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 {
h2_bundle.go#L8765: for _, cs := range cc.streams {
h2_bundle.go#L9332: cs := rl.cc.streams[id]
h2_bundle.go#L9417: for _, cs := range cc.streams {
h2_bundle.go#L9707: ci.WasIdle = len(cc.streams) == 0 && reused
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)